<template>
  <div id="app">
    <!-- 路由视图 -->
    <div style="margin-bottom: 50px">
      <router-view />
    </div>
    <!-- 底部导航 -->
    <TbaNavBar />
  </div>
</template>

<script>
import TbaNavBar from "./components/tabNavBar";
// eslint-disable-next-line no-unused-vars
import { homeApi } from "./api";
export default {
  name: "App",
  components: { TbaNavBar },
  mounted() {
    // console.log(process.env)
    // homeApi().then(res => {
    //   console.log(res);
    // });
  }
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</style>
